package com.cyzy.pojo;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.time.LocalDateTime;

@NoArgsConstructor
@AllArgsConstructor
@ToString
@Data
@TableName("user")
public class User {

  @TableId(type = IdType.AUTO)
  private long userId;
  private String userAcc;
  private String userPwd;
  private String userName;
  private String userSex;
  private String userPhone;
  private String userEmail;
  private String userStatus;
  private LocalDateTime lastLoginTime;
  private LocalDateTime createTime;
  private String userNote;
  private String avatarFrameUrl;
  //  @TableField("campus_id")
  private Integer campusId;

}
